package com.jet.goods.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.jet.core.interceptor.JsonbTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-03-04
 */
@Getter
@Setter
@TableName("m_goods")
@ApiModel(value = "Goods对象", description = "")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String id;

    private String barcode;

    private String name;

    private String classCode;

    private String brandName;

    private String specification;

    private String width;

    private String height;

    private String depth;

    private String codeSource;

    private String firmName;

    private String grossWeight;

    private String batch;

    private String firmAddress;

    private String firmStatus;

    private String firmDescription;

    private String barcodeStatus;

    @TableField(typeHandler = JsonbTypeHandler.class)
    private List<String> image;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private Long price;
}
